<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/pub/head_bootstrap.inc"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=7" />

<title>查询页面</title>
<style>
input{
	width: 300px;
    height: 32px;
    border: 1px solid #ddd;
}
.fa-search{
	cursor: pointer;
}
.search-logo{
	padding-top: 30%;
    text-align: center;
    padding-bottom: 20px;
}
.input-group{
	width: 90%;
    margin: 0px auto;
}
body{
	background: #fff;
}
</style>
</head>
<body class="FrameWindowBg">
	<div class="search-logo"><img src="${baseURL}/images/search_logo.png"/></div>
	<div class="input-group">
		<input type="text" name="companyName" id="companyName" class="form-control" style="height: 42px;">
		<span class="input-group-addon"><i class="fa fa-search"></i></span>
	</div>
	<div class="error hide">请填写企业名称</div>
	<script type="text/javascript">
		$(".fa-search").click(function(){
			if($("#companyName").val()!=null && $("#companyName").val()!=""){
				$(".error").addClass("hide");
				window.location.href = "${baseURL}/exportcompany/exportcompanyedit/detail.do?companyName="+encodeURIComponent(encodeURIComponent($("#companyName").val()));
			}else{
				$(".error").removeClass("hide");
			}
		});
	</script>
</body>
</html>
